package cn.com.generaldata.jsme_indicator_system.entity;

import java.sql.Timestamp;

import lombok.Data;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Readonly;
import org.nutz.dao.entity.annotation.Table;
import org.nutz.dao.entity.annotation.View;

/**
 * 核算指标引用指标组指标集合表
 */
@Data
@Table("T_INDICATOR_ACC_REF_GROUP_SET")
@View("V_INDICATOR_ACC_REF_GROUP_SET")
public class IndicatorAccRefGroupSet implements java.io.Serializable {

	private static final long serialVersionUID = 6173420204042152374L;
	// columns START
	/**
	 * 主键 db_column: ID
	 */
	@Id
	@Column("id")
	private Integer id;
	/**
	 * 引用指标组id db_column: GROUP_ID
	 */
	@Column("GROUP_ID")
	private Integer groupId;
	/**
	 * 地区id db_column: AREA_ID
	 */
	@Column("AREA_ID")
	private String areaId;
	/**
	 * 指标id db_column: INDICATOR_ID
	 */
	@Column("INDICATOR_ID")
	private Integer indicatorId;
	/**
	 * 引用指标类型 db_column: INDICATOR_TYPE
	 */
	@Column("INDICATOR_TYPE")
	private Integer indicatorType;
	/**
	 * 创建时间 db_column: create_time
	 */
	@Column("create_time")
	@ColDefine(update = false)
	private java.sql.Timestamp createTime = new Timestamp(System.currentTimeMillis());
	/**
	 * 最后修改时间 db_column: last_update
	 */
	@Column("last_update")
	@ColDefine(update = true)
	private java.sql.Timestamp lastUpdate = new Timestamp(System.currentTimeMillis());
	// columns END

	// 视图属性
	@Readonly
	@Column("area_name")
	private String areaName;

	@Readonly
	@Column("indicator_name")
	private String indicatorName;

}
